-- GENERATED SPELL FOR [Ironbeak Screecher] --


function spell0_7098(pUnit, Event) --@Deafening Screech,n/a--
pUnit:FullCastSpellOnTarget(3589,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7098', 8279, 1)
end

function Sorts_7098(pUnit, Event)
local choix_sorts_7098 = math.random(0, 0)
if choix_sorts_7098 == 0 then
pUnit:RegisterEvent('spell0_7098', 1, 1)
end
end

function mob7098_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7098', math.random(1500, 3000), 1)
end

function mob7098_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7098_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7098_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7098, 1, 'mob7098_Action')
RegisterUnitEvent(7098, 2, 'mob7098_Leave')
RegisterUnitEvent(7098, 3, 'mob7098_Kill')
RegisterUnitEvent(7098, 4, 'mob7098_Die')
